<div class="obligations form">
<?php echo $this->Form->create('Obligation');?>
	<fieldset>
		<legend><?php echo __('Edit Obligation'); ?></legend>
	<?php
		echo $this->Form->input('id');
		echo $this->Form->input('descripcion');
		echo $this->Form->hidden('contract_id');
	?>
	</fieldset>
    <?php  echo $this->Ajax->submit('Guardar', array('url' => array('controller' => 'Obligations', 'action' => 'edit', $this->data['Obligation']['id']), 'update' => 'content', 'indicator'=>'loading' ));
?>
<?php echo $this->Form->end();?>
</div>
